{% load i18n %}

{% if objects.has_previous %}
  <a href="?page={{ objects.previous_page_number }}">{% trans "previous" %}</a>
{% endif %}
<span class="current">
  {% trans "Page" %} {{ objects.number }} {% trans "of" %} {{ objects.paginator.num_pages }}
</span>
{% if objects.has_next %}
  <a href="?page={{ objects.next_page_number }}">next</a>
{% endif %}
